//package com.bsj.sipgateway.mq;
//
//import com.bsj.sipgateway.mq.consumer.CommandDownConsumer;
//import com.bsj.sipgateway.mq.consumer.VehicleConsumer;
//import com.bsj.sipgateway.mq.producer.CommandUpProducer;
//import lombok.extern.slf4j.Slf4j;
//import org.springframework.beans.factory.annotation.Autowired;
//import org.springframework.stereotype.Component;
//
//import javax.annotation.PostConstruct;
//import javax.annotation.PreDestroy;
//
///**
// * @Author WPH
// * @Description mq管理
// * @Date 2022/8/8 19:55
// */
//@Slf4j
//@Component
//public class MqManage {
//
////    @Autowired
////    private VehicleConsumer vehicleConsumer;
////    @Autowired
////    private CommandDownConsumer commandDownConsumer;
//
//    @Autowired
//    private CommandUpProducer commandUpProducer;
//
//    @PostConstruct
//    public void init(){
//        try {
////            vehicleConsumer.start();
////            commandDownConsumer.start();
////            commandUpProducer.start();
//        }catch (Exception e){
//            log.error("启动mq异常", e);
//        }
//
//    }
//
//
//    @PreDestroy
//    public void stop(){
////        vehicleConsumer.stop();
////        commandDownConsumer.stop();
////        commandUpProducer.stop();
//    }
//}
